/* loading */
.sk-circle {
  margin: 200px auto;
  width: 40px;
  height: 40px;
  position: relative;
}
.sk-circle .sk-child {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}
.sk-circle .sk-child:before {
  content: '';
  display: block;
  margin: 0 auto;
  width: 15%;
  height: 15%;
  background-color: #333;
  border-radius: 100%;
  -webkit-animation: sk-circleBounceDelay 1.2s infinite ease-in-out both;
          animation: sk-circleBounceDelay 1.2s infinite ease-in-out both;
}
.sk-circle .sk-circle2 {
  -webkit-transform: rotate(30deg);
      -ms-transform: rotate(30deg);
          transform: rotate(30deg); }
.sk-circle .sk-circle3 {
  -webkit-transform: rotate(60deg);
      -ms-transform: rotate(60deg);
          transform: rotate(60deg); }
.sk-circle .sk-circle4 {
  -webkit-transform: rotate(90deg);
      -ms-transform: rotate(90deg);
          transform: rotate(90deg); }
.sk-circle .sk-circle5 {
  -webkit-transform: rotate(120deg);
      -ms-transform: rotate(120deg);
          transform: rotate(120deg); }
.sk-circle .sk-circle6 {
  -webkit-transform: rotate(150deg);
      -ms-transform: rotate(150deg);
          transform: rotate(150deg); }
.sk-circle .sk-circle7 {
  -webkit-transform: rotate(180deg);
      -ms-transform: rotate(180deg);
          transform: rotate(180deg); }
.sk-circle .sk-circle8 {
  -webkit-transform: rotate(210deg);
      -ms-transform: rotate(210deg);
          transform: rotate(210deg); }
.sk-circle .sk-circle9 {
  -webkit-transform: rotate(240deg);
      -ms-transform: rotate(240deg);
          transform: rotate(240deg); }
.sk-circle .sk-circle10 {
  -webkit-transform: rotate(270deg);
      -ms-transform: rotate(270deg);
          transform: rotate(270deg); }
.sk-circle .sk-circle11 {
  -webkit-transform: rotate(300deg);
      -ms-transform: rotate(300deg);
          transform: rotate(300deg); }
.sk-circle .sk-circle12 {
  -webkit-transform: rotate(330deg);
      -ms-transform: rotate(330deg);
          transform: rotate(330deg); }
.sk-circle .sk-circle2:before {
  -webkit-animation-delay: -1.1s;
          animation-delay: -1.1s; }
.sk-circle .sk-circle3:before {
  -webkit-animation-delay: -1s;
          animation-delay: -1s; }
.sk-circle .sk-circle4:before {
  -webkit-animation-delay: -0.9s;
          animation-delay: -0.9s; }
.sk-circle .sk-circle5:before {
  -webkit-animation-delay: -0.8s;
          animation-delay: -0.8s; }
.sk-circle .sk-circle6:before {
  -webkit-animation-delay: -0.7s;
          animation-delay: -0.7s; }
.sk-circle .sk-circle7:before {
  -webkit-animation-delay: -0.6s;
          animation-delay: -0.6s; }
.sk-circle .sk-circle8:before {
  -webkit-animation-delay: -0.5s;
          animation-delay: -0.5s; }
.sk-circle .sk-circle9:before {
  -webkit-animation-delay: -0.4s;
          animation-delay: -0.4s; }
.sk-circle .sk-circle10:before {
  -webkit-animation-delay: -0.3s;
          animation-delay: -0.3s; }
.sk-circle .sk-circle11:before {
  -webkit-animation-delay: -0.2s;
          animation-delay: -0.2s; }
.sk-circle .sk-circle12:before {
  -webkit-animation-delay: -0.1s;
          animation-delay: -0.1s; }

@-webkit-keyframes sk-circleBounceDelay {
  0%, 80%, 100% {
    -webkit-transform: scale(0);
            transform: scale(0);
  } 40% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}

@keyframes sk-circleBounceDelay {
  0%, 80%, 100% {
    -webkit-transform: scale(0);
            transform: scale(0);
  } 40% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}

/* 基础样式 */
html,
body {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    font-family: "Microsoft Yahei", sans-serif;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Microsoft Yahei", Arial, Helvetica, sans-serif;
}
input {
    border-radius: 0 !important;
}


/**
 * ----- main Style
 */

.app {
    width: calc(100% - 80px);
    min-height: 100%;
}

/** 右侧菜单  **/
.right-side-navbar {
    width: 80px;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    background: rgb(44, 46, 62);
}
.right-side-navbar li {
    list-style: none;
    display: block;
    width: 80px;
    margin: 0;
    padding: 20px 0;
    text-align: center;
    position: relative;
}
.right-side-navbar li a {
	display: block;
    color: #9e9e9e;
    text-decoration: none;
}
.right-side-navbar li a:hover {
    color: lightskyblue;
}
.right-side-navbar li a.active {
    color: yellow;
}
.right-side-navbar li i {
    font-size: 24px;
}
.right-side-navbar li small {
    display: block;
    margin-top: 8px;
}

/** 搜索 **/
.search-box {
    display: flex;
    width: 700px;
    align-items: center;
    padding: 0 25px;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
}
.search-box .form-control {
    border: none;
}
.top {
    height: 95px;
    background: #3e3f4b;
    position: relative;
}

/** Logo **/
.logo {
    color: #ffffff;
    padding-top: 15px;
    padding-left: 20px;
}
.logo-title {
    font-family: 'Courgette', cursive;
    font-size: 28px;
}
.logo-desc {
    color: #cccccc;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-style: italic;
    line-height: 24px;
}

/** 路由容器 **/
.router{
    height:calc(100% - 95px);
    padding: 15px;
    overflow-x:hidden;
    overflow-y:auto;
}

/** 轴承列表 **/
.bearing .row {
    margin: 3px 0;
}
.detail-label,
.detail-content {
    line-height: 34px;
}
.detail-label {
    border: 1px solid #e6e6e6;
    border-right: 0;
    color: #ffffff;
    background: #237fc7;
}
.detail-content {
    font-size: 14px;
    border: 1px solid #e6e6e6;
}
.bearing-list::-webkit-scrollbar {
    width: 6px;
}
.bearing-list::-webkit-scrollbar-thumb {
    background: #ffffff;
}
.bearing-list::-webkit-scrollbar-track {
    background: #2196F3;
}

/** 其他自定义 **/
.separate-line-hor {
    height:0;
    border-top: 1px solid #181921;
	border-bottom: 1px solid #43465a;
}

/** 表单错误提示 **/
.ng-dirty.ng-valid:not(form) {
    border-left: 5px solid #4caf50;
}
.ng-dirty.ng-invalid:not(form) {
    border-left: 5px solid #e91e63;
}